Previous Book Contents Book Index Next

Inside Macintosh: Mac OS 8 Toolbox Reference /
Chapter 5 - Menu Manager Reference / Menu Manager Functions
Initializing the Menu Manager /


ProcessIsContextualMenuClient

NEW WITH CONTEXTUAL MENUS

Determines whether a given application is a contextual menu client.

pascal Boolean ProcessIsContextualMenuClient(ProcessSerialNumber* inPSN);
inPSN
A pointer to the ID of the process containing the application.
function result
A Boolean value; true if the application in the process uses contextual menus.
DISCUSSION
The ProcessIsContextualMenuClient function checks the system registry of contextual menu clients and returns true if the application in the given process supports contextual menus. However, the application must have been registered as a client using InitContextualMenus.

SEE ALSO
"Contextual Menu Gestalt Selector Constants".


Previous Book Contents Book Index Next

© Apple Computer, Inc.
8 JAN 1998